line = int(input()) + 1
for i in range(1, line):
    for k in range(0, abs(i - line // 2)):
        print(" ", end="")
    j = 1
    while j <= i and i + j <= line:
        print("*", end=" ")
        j += 1
    print()
